]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Move lock shield below dialog
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 29 Nov 2019 15:30:23 +0000 (12:30 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 10 Feb 2020 22:30:52 +0000 (22:30 +0000)
Pretty much what the commit title says.

This gives the lock shield actor another role: instead of
being the interactive screen shield, make it the invisible
actor that prevents interacting with windows while the
unlock dialog is sliding down.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

js/ui/screenShield.js

index 99f1bcaf57422f1e176f45b3d771cee56ca35d10..2def34403bb3d96f47d71234456a20ab0502088d 100644 (file)
@@ -65,8 +65,8 @@ var ScreenShield = class {
                                                 pivot_point: new Graphene.Point({ x: 0.5, y: 0.5 }),
                                                 name: 'lockDialogGroup' });
 
-        this.actor.add_actor(this._lockDialogGroup);
         this.actor.add_actor(this._lockScreenGroup);
+        this.actor.add_actor(this._lockDialogGroup);
 
         this._presence = new GnomeSession.Presence((proxy, error) => {
             if (error) {